package com.cloudkinto.service.company.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class InventoryChange {
    @ApiModelProperty(value = "流水唯一id，幂等健", required = true)
    private String uniqueId;
    @ApiModelProperty(value = "商品编码", required = true)
    private String cwSkuCode;
    @ApiModelProperty(value = "货主编码", required = true)
    private String cwCustomCode;
    @ApiModelProperty(value = "仓库编码", required = true)
    private String cwWarehouseCode;
    @ApiModelProperty(value = "是否 temu 平台操作", required = true)
    private boolean platformOpt = true;
    @ApiModelProperty(value = "操作类型，见附录", required = true)
    private String optType;// 100:入库上架 110:退货上架 120:盘盈 130:平台出库 140:非平台出库 150:盘亏 160:退供出库 170:正转残 180:残转正 190:其它库存增加 200:其它库存减少 201:temu 平台取消库存减增加
    @ApiModelProperty(value = "操作单号(若为对接仓下单需返回 batchOrderNo 单号)", required = true)
    private String refNo;
    @ApiModelProperty(value = "期初数量", required = true)
    private Integer startQty;
    @ApiModelProperty(value = "期末数量", required = true)
    private Integer endQty;
    @ApiModelProperty(value = "变动数量（正负）", required = true)
    private Integer changeQty;
    @ApiModelProperty(value = "变动时间，秒级时间戳", required = true)
    private Long changeTime;
    @ApiModelProperty(value = "备注，库存变动原因", required = true)
    private String remark;

}
